<?php

use doumiaoduo\layer\LayerConfirmWidget;
use doumiaoduo\layer\LayerIframeWidget;
use common\components\helpers\Fun;
use common\components\extenders\MenuManage;

use doumiaoduo\layer\LayerAsset;

LayerAsset::register($this);

LayerConfirmWidget::widget();
LayerIframeWidget::widget();
?>
<div class="yx-cnt-box yx-praise-content yx-radius2">
    <div class="yx-praise-box">
        <a href="<?= $back_url ?>" class="btn yx-back-list yx-radius5 ">返回上级</a>
        <div class="yx-member-info">
            <h3 class="yx-pb15">客户基本信息:</h3>
            <table class="yx-member-box yx-member-box1" style="width: 800px">
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">姓名</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['name'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">约谈时间</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode(\Yii::$app->formatter->asDate($data['created_at'],'yyyy-MM-dd h:i:s'))?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">下次约谈时间</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode(\Yii::$app->formatter->asDate($data['next_time'],'yyyy-MM-dd h:i:s'))?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">联系方式</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['mobile'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">意向分类</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['category_id'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">负责人</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['admin_id'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">约谈人</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['interviewer_id'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">跟进状态</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['follow_status'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">约谈方式</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['type'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">获客渠道</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['type'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">是否注册</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_customer'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">是否绑定学员</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_student'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">是否消费</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode($data['is_buy'])?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">回访详情</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode(strip_tags($data['details']))?></td>
                </tr>
                <tr>
                    <td bgcolor="#f8f8f8" style="width: 150px">处理结果</td>
                    <td style="text-align: left"><?= \yii\helpers\Html::encode(strip_tags($data['results']))?></td>
                </tr>
            </table>
        </div>


    </div>
</div>